@media only screen and (max-width: 1080px), only screen and (max-device-width: 1080px) {
  html,
  body {
    font-size: 168.75px;
  }
}
@media only screen and (max-width: 960px), only screen and (max-device-width: 960px) {
  html,
  body {
    font-size: 150px;
  }
}
@media only screen and (max-width: 800px), only screen and (max-device-width: 800px) {
  html,
  body {
    font-size: 125px;
  }
}
@media only screen and (max-width: 720px), only screen and (max-device-width: 720px) {
  html,
  body {
    font-size: 112.5px;
  }
}
@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
  html,
  body {
    font-size: 100px;
  }
}
@media only screen and (max-width: 600px), only screen and (max-device-width: 600px) {
  html,
  body {
    font-size: 93.75px;
  }
}
@media only screen and (max-width: 540px), only screen and (max-device-width: 540px) {
  html,
  body {
    font-size: 84.375px;
  }
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
  html,
  body {
    font-size: 75px;
  }
}
@media only screen and (max-width: 414px), only screen and (max-device-width: 414px) {
  html,
  body {
    font-size: 64.6875px;
  }
}
@media only screen and (max-width: 400px), only screen and (max-device-width: 400px) {
  html,
  body {
    font-size: 62.5px;
  }
}
@media only screen and (max-width: 375px), only screen and (max-device-width: 375px) {
  html,
  body {
    font-size: 58.59375px;
  }
}
@media only screen and (max-width: 360px), only screen and (max-device-width: 360px) {
  html,
  body {
    font-size: 56.25px;
  }
}
@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) {
  html,
  body {
    font-size: 50px;
  }
}
@media only screen and (max-width: 240px), only screen and (max-device-width: 240px) {
  html,
  body {
    font-size: 37.5px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
  display: block;
}

a {
  display: block;
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.clearfix::after {
  content: "";
  height: 0;
  line-height: 0;
  visibility: hidden;
  clear: both;
}


body{
  background-color: #f7f4f1;
}
.view {
  padding: 0 .25rem;

}

// 绿色
.cart {

  .cart_title {
    height: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.28rem;
    .ct_number {
      color: #888;
    }
  }
  .cart_content {
    .cart_item {
      background-color: #fff;
      border-radius: .1rem;
      box-shadow: 0 0 5px 1px #ccc;
      overflow: hidden;
      .item_main {
        padding: 0 .28rem;
        background-color: #55bc75;
        position: relative;
        overflow: hidden;
        .sale {
          position: absolute;
          width: 1.46rem;
          top: -.06rem;
          right: -.20rem;
        }
        .c_item_title1 {
          padding-top: 0.32rem;
          color: #fff;
          font-size: 0.46rem;
          line-height: 1;
        }
        .c_item_title2 {
          padding-top: 0.17rem;
          font-size: .24rem;
          color: #bdf3ce;
        }
        .c_item_title3 {
          padding-top: 0.6rem;
          padding-bottom: .34rem;
          font-size: 0.22rem;
          color: #fff;
          display: flex;
          justify-content: space-between;
          .ct_left {
            span {}
          }
          .ct_right {
            background-color: #2a603b;
            border-radius: .04rem;
            font-size: .22rem;
            color: #bdf3ce;
            padding: .01rem .05rem;
          }
        }
      }
      .item_tool {
        height: 0.8rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        font-size: .26rem;
        color: #888;
        position: relative;
        &::before {
          content: "";
          position: absolute;
          width: 100%;
          height: 0.08rem;
          background-image: url("../images/icon.png");
          background-size: .24rem .08rem;
          top: -.07rem;
        }
        >a {
          .iconfont {
            color: #55bc75;
            vertical-align: middle;
          }
        }
        >.line {
          border-left: 1px solid #000;
          color: transparent;
        }
      }
    }
  }
}

// 紫色
.cart_coupon {
  .cart_content {
    .cart_item {
      .item_main {
        background-color: #a974bc;
        .c_item_title1 {
          font-family: STXihei;
          font-size: 0;
          .rmb {
            font-size: 0.4rem;
          }
          .big_num {
            font-size: 0.9rem;
          }
          .sm_desc {
            color: #eac7f7;
            font-size: 0.24rem;
          }
        }
        .c_item_title2 {
          padding-top: 0.55rem;
          font-size: 0.22rem;
          color: #fff;
        }
        .c_item_title3 {
          font-size: 0.22rem;
          padding-top: 0.12rem;
          >.ct_right {
            background-color: #6a4279;
            color: #f2d8fb;
          }
        }
      }
    }
    .own_tool {
      overflow: hidden;
      margin-top: 0.26rem;
      .item_tool {
        >a {
          >.iconfont {
            color: #a974bc;
          }
        }
      }
    }
  }
}


.add_coupon{
  margin-top: 0.27rem;
  height: 2.24rem;
  border: .02rem dashed #dedede;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aeaeae;
  a{}
  p{
    font-size: 0.26rem;
  }
}

.tips{
  margin-top: 30px;
  font-size: 0.24rem;
  color: #999;
  margin-bottom: 100px;
}